import {request, handleError} from "@/api/request";

const BASE_URL = "http://127.0.0.1:8088";

/**
 * 获取管理员列表
 * @returns {Promise<axios.AxiosResponse<any>>}
 */
export const getAdminList = async () => {
    try {
        const res = await request.get(BASE_URL + '/user/get_admin_list')
        return res
    } catch (err) {
        handleError(err)
    }
}
